package com.innovations.inn.domain;

import com.innovations.common.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 标签信息对象 tag_info
 * 
 * @author dp
 * @date 2024-08-10
 */
@Data
public class TagInfo
{
    private static final long serialVersionUID = 1L;

    /** 标签标识 */
    private Long tagId;

    /** 标签描述 */
    @Excel(name = "标签描述")
    private String tagDesc;

    /** 创建用户标识 */
    private Long createBy;

    /** 创建时间 */
    private Date createTime;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long isDeleted;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tagId", getTagId())
            .append("tagDesc", getTagDesc())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
